/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.wx.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.wx.entity.WxActivityTheme;
import com.jeesite.modules.wx.dao.WxActivityThemeDao;

/**
 * wx_activity_themeService
 * @author wangjianxin
 * @version 2018-09-28
 */
@Service
@Transactional(readOnly=true)
public class WxActivityThemeService extends CrudService<WxActivityThemeDao, WxActivityTheme> {
	
	/**
	 * 获取单条数据
	 * @param wxActivityTheme
	 * @return
	 */
	@Override
	public WxActivityTheme get(WxActivityTheme wxActivityTheme) {
		return super.get(wxActivityTheme);
	}
	
	/**
	 * 查询分页数据
	 * @param page 分页对象
	 * @param wxActivityTheme
	 * @return
	 */
	@Override
	public Page<WxActivityTheme> findPage(Page<WxActivityTheme> page, WxActivityTheme wxActivityTheme) {
		return super.findPage(page, wxActivityTheme);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param wxActivityTheme
	 */
	@Override
	@Transactional(readOnly=false)
	public void save(WxActivityTheme wxActivityTheme) {
		super.save(wxActivityTheme);
	}
	
	/**
	 * 更新状态
	 * @param wxActivityTheme
	 */
	@Override
	@Transactional(readOnly=false)
	public void updateStatus(WxActivityTheme wxActivityTheme) {
		super.updateStatus(wxActivityTheme);
	}
	
	/**
	 * 删除数据
	 * @param wxActivityTheme
	 */
	@Override
	@Transactional(readOnly=false)
	public void delete(WxActivityTheme wxActivityTheme) {
		super.delete(wxActivityTheme);
	}
	
}